﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ppMsg.aspx.cs" Inherits="Protegidos_Pessoas_DadosPessoa__popup_ppMsg" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
<%@ Register TagPrefix="uc1" TagName="HeadTag"  Src="~/_includes/HeadTag.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <!-- Includes -->
    <uc1:HeadTag ID="HeadTag1" runat="server" />
    <title>Inclusão de Afastamento</title>
</head>
<body>
    <form id="form1" runat="server">
    
        <script type="text/javascript">
            function GetRadWindow()
            {
                var oWindow = null;
                if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;//IE (and Moz as well)
    				
                return oWindow;
            }

            function CancelEdit()
            {
                GetRadWindow().Close();
            }

            function openWin3(link) {
                var parentPage = GetRadWindow().BrowserWindow;
                var parentRadWindowManager = parentPage.GetRadWindowManager();
                var oWnd3 = parentRadWindowManager.open(link, "RadWindow2");
                window.setTimeout(function() {
                    oWnd3.setActive(true);
                }, 0);
                GetRadWindow().Close();
            }
        </script>
        
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Telerik" DecoratedControls="All" />
        
        <table width="100%" class="textoCZ_12B" align="right">
            <tr>
                <td align="right">
                    <br />
                    <asp:Label ID="lblMsg" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Button ID="btnSim" runat="server" Text="Sim" />&nbsp;&nbsp;
                    <asp:Button ID="btnNao" runat="server" Text="Não" OnClientClick="CancelEdit(); return false;" />&nbsp;&nbsp;
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
